﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TodayUserList.aspx.cs" Inherits="FinanceCenter_TodayUserList" %>

<%@ Register TagPrefix="ShoveWebUI" Namespace="Shove.Web.UI" Assembly="Shove.Web.UI.2 For.NET 2.0" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>山顶软件 - 会员中心</title>
    <link href="../css/css.css" type="text/css" rel="stylesheet" />
    <link href="../css/div.css" type="text/css" rel="stylesheet" />
</head>
<body style="margin-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0;">
    <form id="form1" runat="server">
        <font face="宋体">
            <table id="Table1" cellspacing="0" cellpadding="0" width="99%" border="0" align="center">
                <tr>
                    <td colspan="3">
                        <table>
                            <tr>
                                <td align="right" style="height: 25px;"  width="60px">会员搜索：</td>
                                <td align="left" valign="top" style="height: 25px; width:360px;">
                                    <asp:TextBox ID="tbSerch" runat="server" MaxLength="20"></asp:TextBox> 
                                    <asp:Button ID="btnSerch" runat="server" Text=" 查找 " OnClick="btnSerch_Click" /> 
                                    <asp:Button ID="btnSerchAll" runat="server" OnClick="btnSerchAll_Click" Text="查找所有" /></td>
                            </tr>
                        </table>
                    </td>
                </tr>                
                <tr>
                    <td align="center" colspan="3">
                        <asp:DataGrid ID="g" runat="server" CellPadding="0" BackColor="White" BorderWidth="2px"
                            BorderStyle="None" BorderColor="Silver" Font-Names="宋体" PageSize="20" AllowSorting="True"
                            AutoGenerateColumns="False" Width="100%" AllowPaging="True" 
                            OnItemDataBound="g_ItemDataBound" onitemcommand="g_ItemCommand">
                            <FooterStyle ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
                            <SelectedItemStyle Font-Bold="True" ForeColor="#663399"></SelectedItemStyle>
                            <ItemStyle ForeColor="#330099"></ItemStyle>
                            <HeaderStyle HorizontalAlign="Center"  ForeColor="Black" VerticalAlign="Middle" BackColor="#CFE4F7" Font-Bold="True" BorderStyle="Dashed"></HeaderStyle>
                            <Columns>
                                <asp:HyperLinkColumn DataNavigateUrlField="id" DataNavigateUrlFormatString="AdminUserEdit.aspx?id={0}"
                                    DataTextField="Name" HeaderText="用户名" SortExpression="ID">
                                    <HeaderStyle CssClass="black14" Height="25px" />
                                    <ItemStyle BackColor="White" CssClass="black12" Height="25px" />
                                </asp:HyperLinkColumn>
                                <asp:BoundColumn DataField="RealityName" SortExpression="RealityName" HeaderText="真实姓名">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="Sex" SortExpression="Sex" HeaderText="性别">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="IDCardNumber" SortExpression="IDCardNumber" HeaderText="身份证">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="Address" SortExpression="Address" HeaderText="地址">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="Email" SortExpression="Email" HeaderText="邮箱">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="QQ" SortExpression="QQ" HeaderText="QQ">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="Telephone" SortExpression="Telephone" HeaderText="电话">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="Mobile" SortExpression="Mobile" HeaderText="手机">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:BoundColumn HeaderText="类别">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="RegisterTime" SortExpression="RegisterTime" HeaderText="注册时间">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="LastLoginTime" SortExpression="LastLoginTime" HeaderText="登录时间" Visible="false">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="LastLoginIP" SortExpression="LastLoginIP" HeaderText="登录IP" Visible="false">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="LoginNum" SortExpression="LoginNum" HeaderText="次数" Visible="false">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:TemplateColumn HeaderText="代理商" Visible="false">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                    <ItemTemplate>
                                        <asp:CheckBox ID="cbSurrogate" runat="server" Enabled="False"></asp:CheckBox>
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                                <asp:BoundColumn DataField="Balance" SortExpression="Balance" HeaderText="余额">
                                    <HeaderStyle CssClass="black14" />
                                   <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:BoundColumn SortExpression="isActivation" 
                                    HeaderText="状态">
                                    <HeaderStyle CssClass="black14" />
                                    <ItemStyle BackColor="White" CssClass="black12" />
                                </asp:BoundColumn>
                                <asp:TemplateColumn HeaderText="操作">
                                    <ItemTemplate>
                                        <ShoveWebUI:ShoveConfirmButton id="btnAddMoney" runat="server" BorderStyle="Solid" Width="60px" BorderWidth="1px"
									Text="充值" Height="20px" CommandName="AddMoney"></ShoveWebUI:ShoveConfirmButton>
									    <ShoveWebUI:ShoveConfirmButton id="btnDel" runat="server" BorderStyle="Solid" Width="60px" BorderWidth="1px" AlertText="确定删除该用户吗？"
									Text="删除" Height="20px" CommandName="Del"></ShoveWebUI:ShoveConfirmButton>
									    <ShoveWebUI:ShoveConfirmButton id="btnEditUserNet" runat="server" BorderStyle="Solid" Width="80px" BorderWidth="1px" 
									Text="修改网络位置" Height="20px" CommandName="EditUserNet" Visible="false"></ShoveWebUI:ShoveConfirmButton>
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                                <asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
                                <asp:BoundColumn Visible="False" DataField="isSurrogate"></asp:BoundColumn>
                                <asp:BoundColumn Visible="False" DataField="UserType"></asp:BoundColumn>
                                <asp:BoundColumn Visible="False" DataField="isActivation"></asp:BoundColumn>
                            </Columns>
                            <PagerStyle Visible="False" HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC">
                            </PagerStyle>
                        </asp:DataGrid>
                        <ShoveWebUI:ShoveGridPager ID="gPager" runat="server" Width="100%" ShowSelectColumn="False"
                            DataGrid="g" AlternatingRowColor="White" GridColor="Silver" HotColor="MistyRose"
                            Visible="False" OnPageWillChange="gPager_PageWillChange" OnSortBefore="gPager_SortBefore" />
                        <br>
                    </td>
                </tr>
            </table>
        </font>
    </form>
</body>
</html>